package org.meb.speedway.config;

import javax.enterprise.inject.Produces;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.PersistenceContext;
import javax.persistence.PersistenceUnit;

public class Producer {

	@SuppressWarnings("unused")
	@PersistenceContext(unitName = "SpeedwayUnit")
	@Produces
	@SpeedwayDatabase
	private EntityManager em;

	@SuppressWarnings("unused")
	@PersistenceUnit(unitName = "SpeedwayUnit")
	@Produces
	@SpeedwayDatabase
	private EntityManagerFactory emf;
}
